package com.bestv.search.common.service;

import com.bestv.search.common.dataSource.DataSourceKey;
import com.bestv.search.common.model.Channel;

/**
 * @author Michael Wang
 */
public interface ChannelManager {

    Channel getChannelByName(DataSourceKey key, String name);

    Channel getChannelByCode(DataSourceKey key, String code);

}
